/**
 * page track data config
 * Created by kevin on 2018/7/27.
 * state_id规则：业务前缀-时间戳-3位随机数
 * 例子：CM-1499935438647-pHW
 * 专题小程序的业务前缀 ZTXCX
 */

// 请在控制台调用执行生成 state_id
const genStateId = () => {
  return `ZTXCX-${Date.now()}-${Math.random()
    .toString(12)
    .substr(2, 3)}`
}

export default {
  /**
   * pages
   */
  'pages/index': {
    b_title: '专题小程序_专题列表',
    b_feature: 'ztxcx_special-index',
    b_featurename: '专题小程序_专题首页',
    biz_ext: {
      object_id: '',
      object_type: 'special-index',
      stat_id: 'ZTXCX-1533782800983-162',
      stat_name: '专题小程序_专题首页'
    }
  },
  'pages/special-list': {
    b_title: '专题列表',
    b_feature: 'ztxcx_special-list',
    b_featurename: '专题小程序_专题列表',
    biz_ext: {
      object_id: '',
      object_type: 'special-list',
      stat_id: 'ZTXCX-1533782825336-497',
      stat_name: '专题小程序_专题列表'
    }
  },
  'pages/special-details': {
    b_title: '专题详情',
    b_feature: 'ztxcx_special-details',
    b_featurename: '专题小程序_专题详情',
    biz_ext: {
      object_id: '6d61170f-3b30-42ce-a1f3-98d40d1fe191',
      object_type: 'special-details',
      stat_id: 'ZTXCX-1533782853633-80a',
      stat_name: '专题小程序_专题详情'
    }
  },
  'pages/goods-list': {
    b_title: '商品列表',
    b_feature: 'ztxcx_goods-list',
    b_featurename: '专题小程序_商品详情',
    biz_ext: {
      object_id: '',
      object_type: 'goods-list',
      stat_id: '',
      stat_name: '专题小程序_商品列表'
    }
  },
  'pages/goods-details': {
    b_title: '商品详情',
    b_feature: 'ztxcx_goods-details',
    b_featurename: '专题小程序_商品详情',
    biz_ext: {
      object_id: '07e935bb-45b3-444a-a27c-3a4bf8c07755',
      object_type: 'goods-details',
      stat_id: 'ZTXCX-1533782867381-605',
      stat_name: '专题小程序_商品详情'
    }
  },
  'pages/shopping-cart': {
    b_title: '购物袋',
    b_feature: 'ztxcx_shopping-cart',
    b_featurename: '专题小程序_购物袋',
    biz_ext: {
      object_id: '',
      object_type: 'shopping-cart',
      stat_id: 'ZTXCX-1533782901031-930',
      stat_name: '专题小程序_购物袋'
    }
  },
  'pages/personal-center': {
    b_title: '个人中心',
    b_feature: 'ztxcx_personal-center',
    b_featurename: '专题小程序_个人中心',
    biz_ext: {
      object_id: '',
      object_type: 'personal-center',
      stat_id: 'ZTXCX-1533782929296-235',
      stat_name: '专题小程序_个人中心'
    }
  },
  'pages/register': {
    b_title: '立即开卡',
    b_feature: 'ztxcx_register',
    b_featurename: '专题小程序_立即开卡',
    biz_ext: {
      object_id: '',
      object_type: 'register',
      stat_id: 'ZTXCX--1535867523026-0a7',
      stat_name: '专题小程序_立即开卡'
    }
  },
  'pages/register-result': {
    b_title: '会员开卡-激活页',
    b_feature: 'ztxcx_register-result',
    b_featurename: '专题小程序_会员开卡激活页',
    biz_ext: {
      object_id: '',
      object_type: 'register-result',
      stat_id: 'ZTXCX-1539755880551-301',
      stat_name: '专题小程序_会员开卡开卡激活页'
    }
  },
  'pages/order-detail': {
    b_title: '订单详情',
    b_feature: 'ztxcx_order-detail',
    b_featurename: '专题小程序_订单详情',
    biz_ext: {
      object_id: '',
      object_type: 'order-detail',
      stat_id: 'ZTXCX-1533782983890-508',
      stat_name: '专题小程序_订单详情'
    }
  },
  'pages/delivery-detail': {
    b_title: '物流详情',
    b_feature: 'ztxcx_delivery-detail',
    b_featurename: '专题小程序_物流详情',
    biz_ext: {
      object_id: '',
      object_type: 'delivery-detail',
      stat_id: 'ZTXCX-1533782943778-643',
      stat_name: '专题小程序_物流详情'
    }
  },
  'pages/order-confirm': {
    b_title: '确认订单',
    b_feature: 'ztxcx_order-confirm',
    b_featurename: '专题小程序_确认订单',
    biz_ext: {
      object_id: '',
      object_type: 'order-confirm',
      stat_id: 'ZTXCX-1533782956737-051',
      stat_name: '专题小程序_确认订单'
    }
  },
  'pages/address-manager': {
    b_title: '地址管理',
    b_feature: 'ztxcx_address-manager',
    b_featurename: '专题小程序_地址管理',
    biz_ext: {
      object_id: '',
      object_type: 'address-manager',
      stat_id: 'ZTXCX-1533783005415-573',
      stat_name: '专题小程序_地址管理'
    }
  },
  'pages/address-operate': {
    b_title: '新增地址',
    b_feature: 'ztxcx_address-operate',
    b_featurename: '专题小程序_新增地址',
    biz_ext: {
      object_id: '',
      object_type: 'address-operate',
      stat_id: 'ZTXCX-1533782968889-435',
      stat_name: '专题小程序_新增地址'
    }
  },
  'pages/web-view': {
    b_title: 'webView页面',
    b_feature: 'ztxcx_web-view',
    b_featurename: '专题小程序_webView页面',
    biz_ext: {
      object_id: '',
      object_type: 'web-view',
      stat_id: 'ZTXCX-1537194372100-9ab',
      stat_name: '专题小程序_webView页面'
    }
  },
  'pages/payment': {
    b_title: '支付订单',
    b_feature: 'ztxcx_payment',
    b_featurename: '专题小程序_支付订单',
    biz_ext: {
      object_id: '',
      object_type: 'payment',
      stat_id: 'ZTXCX-1533783028970-026',
      stat_name: '专题小程序_支付订单'
    }
  },
  'pages/confirmation': {
    b_title: '支付成功',
    b_feature: 'ztxcx_confirmation',
    b_featurename: '专题小程序_支付成功',
    biz_ext: {
      object_id: '',
      object_type: 'confirmation',
      stat_id: 'ZTXCX-1533783062158-569',
      stat_name: '专题小程序_支付成功'
    }
  },
  'pages/shopping-cart': {
    b_title: '购物袋',
    b_feature: 'ztxcx_shopping-cart',
    b_featurename: '专题小程序_购物袋',
    biz_ext: {
      object_id: '',
      object_type: 'shopping-cart',
      stat_id: 'ZTXCX-1533783084477-509',
      stat_name: '专题小程序_购物袋'
    }
  },
  'pages/share-bind': {
    b_title: '导购分享计划',
    b_feature: 'ztxcx_share-bind',
    b_featurename: '专题小程序_导购分享计划',
    biz_ext: {
      object_id: '',
      object_type: 'share-bind',
      stat_id: 'ZTXCX-1533783096580-b64',
      stat_name: '专题小程序_导购分享计划'
    }
  },
  'pages/decode-scene': {
    b_title: '专题小程序_分享海报链接中转',
    b_feature: 'ztxcx_decode-scene',
    b_featurename: '专题小程序_分享海报链接中转',
    biz_ext: {
      object_id: '',
      object_type: 'decode-scene',
      stat_id: 'ZTXCX-1535966608851-3a5',
      stat_name: '专题小程序_分享海报链接中转'
    }
  },
  'pages/coupon-details': {
    b_title: '专题小程序_领取优惠券',
    b_feature: 'ztxcx_coupon-details',
    b_featurename: '专题小程序_领取优惠券',
    biz_ext: {
      object_id: '',
      object_type: 'coupon-details',
      stat_id: 'ZTXCX-1542607593633-273',
      stat_name: '专题小程序_领取优惠券'
    }
  },
  'pages/coupon-qrcode': {
    b_title: '专题小程序_核销码',
    b_feature: 'ztxcx_coupon-qrcode',
    b_featurename: '专题小程序_核销码',
    biz_ext: {
      object_id: '',
      object_type: 'coupon-qrcode',
      stat_id: 'ZTXCX-1542679426527-953',
      stat_name: '专题小程序_核销码'
    }
  },
  'pages/store-list': {
    b_title: '专题小程序_门店列表',
    b_feature: 'ztxcx_store-list',
    b_featurename: '专题小程序_门店列表',
    biz_ext: {
      object_id: '',
      object_type: 'store-list',
      stat_id: 'ZTXCX-1542940036155-973',
      stat_name: '专题小程序_门店列表'
    }
  },
  'pages/suit-coupon': {
    b_title: '专题小程序_套券详情',
    b_feature: 'ztxcx_suit-coupon',
    b_featurename: '专题小程序_套券详情',
    biz_ext: {
      object_id: '',
      object_type: 'suit-coupon',
      stat_id: 'ZTXCX-1543227001952-6bb',
      stat_name: '专题小程序_套券详情'
    }
  },
  'pages/my-coupon': {
    b_title: '专题小程序_我的卡券',
    b_feature: 'ztxcx_my-coupon',
    b_featurename: '专题小程序_我的卡券',
    biz_ext: {
      object_id: '',
      object_type: 'my-coupon',
      stat_id: 'ZTXCX-1543388609994-031',
      stat_name: '专题小程序_我的卡券'
    }
  },
  /**
   * share
   */
  'ztxcx_special-list_send-appposter': {
    biz_ext: {
      object_id: '',
      object_type: 'special-list_send-appposter',
      stat_id: 'ZTXCX-1533783109834-8b6',
      stat_name: '专题小程序_专题列表_分享海报'
    },
    biz: {
      target_id: 'ztxcx_special-list_send-appposter',
      target_name: '专题小程序_专题列表_分享海报'
    }
  },
  'ztxcx_special-list_send-appmessage': {
    biz_ext: {
      object_id: '',
      object_type: 'special-list_send-appmessage',
      stat_id: 'ZTXCX-1533783982609-5a3',
      stat_name: '专题小程序_专题列表_分享给好友和微信群'
    },
    biz: {
      target_id: 'ztxcx_special-list_send-appmessage',
      target_name: '专题小程序_专题列表_分享给好友和微信群'
    }
  },
  'ztxcx_special-details_send-appposter': {
    biz_ext: {
      object_id: '',
      object_type: 'special-details_send-appposter',
      stat_id: 'ZTXCX-1533783998125-051',
      stat_name: '专题小程序_专题详情_分享海报'
    },
    biz: {
      target_id: 'ztxcx_special-details_send-appposter',
      target_name: '专题小程序_专题详情_分享海报'
    }
  },
  'ztxcx_special-details_send-appmessage': {
    biz_ext: {
      object_id: '',
      object_type: 'special-details_send-appmessage',
      stat_id: 'ZTXCX-1533784012586-364',
      stat_name: '专题小程序_专题详情_分享给好友和微信群'
    },
    biz: {
      target_id: 'ztxcx_special-details_send-appmessage',
      target_name: '专题小程序_专题详情_分享给好友和微信群'
    }
  },
  'ztxcx_goods-details_send-appmessage': {
    biz_ext: {
      object_id: '',
      object_type: 'goods-details_send-appmessage',
      stat_id: 'ZTXCX-1533784200582-719',
      stat_name: '专题小程序_商品详情_分享给好友和微信群'
    },
    biz: {
      target_id: 'ztxcx_goods-details_send-appmessage',
      target_name: '专题小程序_商品详情_分享给好友和微信群'
    }
  },
  /**
   * other events
   */
  'ztxcx_special-details_like_click': {
    biz_ext: {
      object_id: '',
      object_type: 'special-details',
      stat_id: 'ZTXCX-1533783121674-564',
      stat_name: '专题小程序_专题详情_专题点赞'
    },
    biz: {
      target_id: 'ztxcx_special-details_like_click',
      target_name: '专题小程序_专题详情_专题点赞'
    }
  },
  'ztxcx_conpou-details_share': {
    biz_ext: {
      object_id: '',
      object_type: 'conpou-details',
      stat_id: 'ZTXCX-1542792675037-b1b',
      stat_name: '专题小程序_领取优惠券_转赠优惠券'
    },
    biz: {
      target_id: 'ztxcx_conpou-details_share',
      target_name: '专题小程序_领取优惠券_转赠优惠券'
    }
  }
}
